<template>
  <div class="app">
   <h2>我是App</h2>
   <Child1/>
   <Child2/>
  </div>
</template>

<script>
  import Child1 from './components/Child1.vue'
  import Child2 from './components/Child2.vue'

  export default {
    name:'App',
    components:{Child1,Child2},
  }
</script>

<style>
  .app {
    background-color: gray;
    border-radius: 10px;
    padding: 20px;
  }
</style>